import { DeleteOutlined } from'@ant-design/icons';
import { ConfirmBtn, IConfirmBtnProps } from './confirm-btn';
export function DeleteButton(props: Pick<IConfirmBtnProps, 'onConfirm'|'onCancel'>) {
    return (
        <ConfirmBtn {...props} title="确认删除？">
            <DeleteOutlined className="operate-btn warn"/>
        </ConfirmBtn>
    );
}